Skip to content

Conversation

@labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Nov 19, 2025

Rationale

Delegate most IN clause generation to SqlDialect

Move redundant temp-table IN clause generation code into SqlDialect. Move PostgreSQL-specific IN clause code from BasePostgreSqlDialect into PostgreSql92Dialect, since it doesn't apply to Redshift.

ANALYZE all IN-clause temp tables immediately after creating/populating/indexing them.

getAnalyzeCommandForTable() returns SQLFragment

Switch assay run skipping to use an inclusion filter. Switch associated IN clauses to EXISTS clauses to improve performance.

Related Pull Requests

@labkey-adam labkey-adam self-assigned this Nov 20, 2025
@labkey-adam labkey-adam merged commit d2edbe9 into release25.11-SNAPSHOT Nov 26, 2025
9 of 10 checks passed
@labkey-adam labkey-adam deleted the 25.11_fb_inclause branch November 26, 2025 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants